package com.tencent.txcc.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.tencent.txcc.domain.Integral;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author director
 * @since 2022-10-04
 */
@Component
public interface IntegralMapper extends BaseMapper<Integral> {

    Integer getIntegralByUserId(Long user_id);

    void updateIntegralByUserId(Integral integral);
}
